package com.tianji.learning.domain.vo;

import com.tianji.learning.enums.LessonStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@ApiModel(description = "课程状态信息")
@AllArgsConstructor
@NoArgsConstructor
public class lessonStatusVO {
        //    "id": "10", - 问题id
        //      "courseId": "1002101", - 课程id
        //      "status": 1,
        //      "learnedSections": 5,
        //      "createTime": "2023-02-12",
        //      "expireTime": "2023-12-12",
        //      "planStatus": 1
    @ApiModelProperty("主键id")
    Long id;

    @ApiModelProperty("课程id")
    Long courseId;

    @ApiModelProperty("课程状态")
    LessonStatus status;

    @ApiModelProperty("已学习章节数")
    Integer learnedSections;

    @ApiModelProperty("课程创建时间")
    LocalDateTime createTime;

    @ApiModelProperty("课程过期时间")
    LocalDateTime expireTime;

    @ApiModelProperty("课程计划状态")
    Integer planStatus;


}
